package dev.alm.serviceweather.exceptionhandler;

import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;

//@RestControllerAdvice
public class GlobalExceptionHandler  {

    @ExceptionHandler(Throwable.class)
    public String handleException(Throwable throwable) {
        return "weather service, exception handler";
    }

}
